<h1><%= title "Town of #{@town.name}" %></h1>

<p>
  <b>County:</b>
  <%=link_to_record @town.county %>
</p>

<p>
  <b>Ruler:</b>
  <%=link_to_record Title.earl_of @town %>
</p>

<p>
  <b>Infrastructure:</b>
  <%=h @town.infrastructure %>
</p>

<div id="courtiers">
	<%= render :partial => '/shared/courtiers', :locals => {:territory => @town} %>
</div>

<%= render :partial => '/shared/court_actions', :locals => {:territory => @town} %>

<% if is_admin? %>
<%= link_to 'Edit', edit_town_path(@town) %> |
<%= link_to 'Back', towns_path %> |
<% end %>

<%= link_to 'Home', '/' %>
